package com.buydeem.share;

/**
 * 为什么要先获取对象锁
 *
 * @author zengchao
 * @date 2021-07-21 11:33:33
 * @since 1.0
 */
public class WaitNotifyDemo3 {
    static final Object LOCK = new Object();

    public static void main(String[] args) throws InterruptedException {
        synchronized (LOCK){
            LOCK.notify();
        }
    }
}
